<!-- 个人中心 -->
<template>
	<view class="container">
		<view v-for="item in 4" >
			<view class="box">
				<view style="display: flex;align-items: center;">
					<view class="name">张三</view>
					<view class="tel">121****0211</view>
					<view class="status">默认</view>
				</view>
				<view class="addr">
					广东省深圳市南山区
				</view>
			</view>
		</view>
		<view class="btn" @click="toAdd()">
			添加地址
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
	
					}
		},
		onLoad() {},
		onShow() {

		},
		computed: {

		},
		methods: {
	toAdd(){
        uni.navigateTo({
        	url:'/pages/personalCenter/addAddress'
        })
    }
		},
	}
</script>

<style lang="scss" scoped>
	* {
		box-sizing: border-box;
		margin: 0;
		padding: 0;
	}
	.container{
		height: 100vh;
		background: #F5F5F5;
		overflow: hidden;
	}
	.box{
		height: 158rpx;
		background: #FFFFFF;
		border-radius: 28rpx;
		margin-left: 30rpx;
		margin-right: 30rpx;
		margin-top: 30rpx;
		padding: 30rpx  0rpx 0rpx 30rpx;
	}
	.name{
		font-size: 32rpx;
		font-family: Source Han Sans CN;
		font-weight: bold;
		color: #333333;
	}
	.tel{
		font-size: 32rpx;
		font-family: Source Han Sans CN;
		font-weight: bold;
		color: #333333;
		margin-left: 20rpx;
	}
	.status{
		background-size: 100% 100%;
		width: 84rpx;
		height: 39rpx;
		background-image: url('/static/image/fenxiao76.png');
		color: #0EAB28;
		font-size: 28rpx;
		text-align: center;
		margin-left: 20rpx;
	}
		
	.addr{
		font-size: 28rpx;
		font-family: Source Han Sans CN;
		font-weight: 400;
		color: #999999;
		margin-top: 30rpx;
	}
	.btn{
		width: 100%;
		height: 98rpx;
		background: #0EAB28;
		font-size: 32rpx;
		font-family: Source Han Sans CN;
		font-weight: 500;
		color: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		    bottom: 0;
		
	}
</style>
